package com.yt.service.impl;


import lombok.extern.slf4j.Slf4j;

import org.springframework.beans.factory.annotation.Autowired;


import org.springframework.stereotype.Service;


import com.yt.dao.UserDao;
import com.yt.service.UserService;

@Slf4j
@Service
public class UserServiceImpl  implements UserService{

	@Autowired
	private UserDao userDao;
	
	@Override
	public String getName(Integer id) {
		
		return userDao.getName(id);
		
	}

}
